<template>
	<div>
		<el-form style="text-align:center;" ref="form" :model="form" label-width="80px">
		 <el-form-item label="用户名:" >
		   <el-input v-model="form.name" placeholder="请输入账号" ></el-input>
		 </el-form-item>
		 <el-form-item label="密码:">
		   <el-input v-model="form.name" placeholder="请输入密码"></el-input>
		 </el-form-item>
		  <el-form-item label="姓名:">
		    <el-input v-model="form.name" placeholder="请输入姓名"></el-input>
		  </el-form-item>
		  <el-form-item label="电话:">
		    <el-input v-model="form.name" placeholder="请输入电话"></el-input>
		  </el-form-item>
		    <el-form-item :span="22" style="text-align:center;" >
		      <el-button type="primary" @click="onSubmit">登录</el-button>
		    
		    </el-form-item>
			  
		 
		</el-form>
	</div>
</template>

<script>
  export default {
    data() {
      return {
        form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        }
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      }
    }
  }
</script>

<style>
	.RedStar {
		color: red;
	}

	.left {
		text-align: left;
	}
</style>
